package hhq.demo.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import hhq.demo.pojo.BookMarkItem;

@Mapper
public interface BookMarkItemMapper {
    public void insert(BookMarkItem son);
    public void delete(int id);
    public void deleteByFatherId(int id);
    public void update(BookMarkItem son);
    public BookMarkItem findOne(int id);
    public List<BookMarkItem> findAll();
    public List<BookMarkItem> findByFather(int father_id);
    public void changeBookMarkItemFolder(int folder_id, int son_id);
}